#pragma once
#include"Stack.h"

typedef struct {
    Stack* inStack;
    Stack* outStack;
} MyQueue;

MyQueue* myQueueCreate();

void in2out(MyQueue* obj);

void myQueuePush(MyQueue* obj, int x);

int myQueuePop(MyQueue* obj);

int myQueuePeek(MyQueue* obj);

bool myQueueEmpty(MyQueue* obj);

void myQueueFree(MyQueue* obj);
